#include <algorithm>
#include <cmath>
#include <cstdio>
#include <iostream>
#include <string>

using namespace std;

class point {
   public:
    point(double x = 1, double y = 1) {
        this->x = x;
        this->y = y;
    }
    void print();
    bool judge(const point &, const point &);
    double distance(const point &);

   private:
    double x;
    double y;
};

void point::print() {
    cout << "(" << x << "," << y << ")\n";
}

bool point::judge(const point &p1, const point &p2) {
    return (p1.y - p2.y) / (p1.x - p2.x) == (p1.y - y) / (p1.x - x);
}

double point::distance(const point &p) {
    return sqrt((p.x - x) * (p.x - x) + (p.y - y) * (p.y - y));
}

int main() {
    double x, y;
    cin >> x >> y;
    point p1(x, y);
    p1.print();
    cin >> x >> y;
    point p2(x, y);
    cin >> x >> y;
    point p3(x, y);
    if (p1.judge(p2, p3)) {
        cout << "True" << endl;
    } else {
        cout << "False" << endl;
    }
    cout << p1.distance(p2) << endl;
    cout << p1.distance(p3) << endl;
    return 0;
}
